<?php
/**
 * Created by JetBrains PhpStorm.
 * User: zhouyang
 * Date: 13-9-15
 * Time: 下午4:31
 * To change this template use File | Settings | File Templates.
 */
class SummarysModel extends Model{
    //根据summary_id 获取summary 信息
    public function get($summary_id){
        return $this->dbreader()->get($summary_id);
    }
    //获取首页推荐的最新6条数据
    public function getRecommendIndexList(){
        return $this->dbreader()->getRecommendIndexList();
    }
}